
{% load adminmedia %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}

{% if render_full %}
	{% if form.errors %}
		<p class="errornote">Por favor corrija os erros abaixo</p>
	{% endif %}
	<form action="{{ form.ACTION }}" name="{{ form.ID }}" id="{{ form.ID }}"
		  method="{{ form.METHOD|default:"POST" }}"  
	      {% if form.is_multipart %} enctype="multipart/form-data" {% endif %}>
	    {{ form.rendered }}
	    <div class="submit-row">
			<input type="submit" class="default" {% if form.Meta.model %} value="Salvar" {% endif %}" />
		</div>
	</form>
{% else %}
	{{ form.rendered }}
{% endif %}